<template>
  <div>
      <h2 class="h1">我是子组件</h2>
      <p>{{$store.state.name}}</p>
  </div>
</template>

<script>


export default {
    name: "HelloStoreSub",
}
</script>

<style scoped>
    .h1 {
        color: #daa30e;
    }

</style>
